package com.hotel.reservation.service;

import com.hotel.reservation.po.Manage;
import com.hotel.reservation.po.Message;
import com.hotel.reservation.po.User;

import java.util.List;
import java.util.Map;


public interface ManageService {
    List<Manage> adminLogin(Manage manage);
    int adminAdd(Manage manage);
    int deleteManage(int id);
    List<User> showUser();
    int userAdd(User user);
    List<Manage> showManage();
    List<Manage> selectAllManageByPage(Map map);
    int updateManageById(Manage manage);
    List<Manage> findOneManage(int id);
    List<Message> findOneMessage(int id);
    List<Message> showMessage();
    List<Message> selectMessageByPage(Map map);
    int updateMessage(Message message);
    int deleteMessage(int id);
}